// 文本超出省略号
@mixin ellipsis($line: 1) {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: $line;
  -webkit-box-orient: vertical;
}

// flex:水平垂直居中
@mixin flex-center() {
  display: flex;
  justify-content: center;
  align-items: center;
}

// flex:换行
@mixin flex-wrap() {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}